#include "MoveCmd.h"
#include "../model/UMLObject.h"

MoveCmd::MoveCmd(UMLObject* target, const QPoint& pos)
:	Command(),
	_target(target), _pos(pos)
{
}

void MoveCmd::execute()
{
	_target->setPosition(_pos);
}

void MoveCmd::unexecute()
{
	// TODO
}

